//
// Created by DengLibin on 2019/2/12 0012.
//

#include <iostream>
#include <vector>
#include <queue>
using namespace std;
struct TreeNode {
     int val;
     TreeNode *left;
     TreeNode *right;
     TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
int main80(){

    TreeNode node1 = {1};
    TreeNode node2 = {2};
    TreeNode node3 = {3};
    TreeNode node4 = {4};
    TreeNode node5 = {5};
    TreeNode node6 = {6};
    TreeNode node7 = {7};
    node1.left=&node2;
    node1.right=&node3;
    node2.left=&node4;
    node2.right=&node5;
    node3.left = &node6;
    node3.right=&node7;
    return 0;
}